﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-trasitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="~/css/table.css" rel="stylesheet" />

    <script src="~/javascript/comm/comm.js"></script>


    <script src="~/javascript/jquery-1.7.2.js"></script>
    <script type="text/javascript">
        function deleteThirdKind(id) {
            $.ajax({

                url: "/HR_Fist/customiz/customizAction!doDeleteThirdKind",
                data: "cftk.ftkId=" + id,
                dataType: "text",
                success: function () {
                    alert("删除成功！");
                    location.reload();
                },
                type: "post"
            });
        }
    </script>
    <script type="text/javascript">

        function submission() {
            document.forms[0].submit();
        }

        function page(currentPage) {
            document.getElementById("pid").value = currentPage;
            document.forms[0].submit();
        }

    </script>
</head>


@using Model;
@model List<config_file_third_kind>
<body>
    <form action="../customiz/customizAction!findThirdKind" method="post">
        <table width="100%">
            <tr>
                <td>
                    <font color="black">
                        您正在做的业务是：人力资源--客户化设置--人力资源档案管理设置--III级机构设置
                    </font>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <a asp-controller="client" asp-action="third_kind_register" class="BUTTON_STYLE1">添加</a>
                    @*<input type="button" value="添加" class="BUTTON_STYLE1"
                        onclick="window.location.href='third_kind_register.html'" />*@
                </td>
            </tr>
        </table>
        <table width="100%" border="1" cellpadding=0 cellspacing=1
               bordercolorlight=#848284 bordercolordark=#eeeeee
               class="TABLE_STYLE1">
            <tr>
                <td width="14%" class="TD_STYLE1">
                    I级机构名称
                </td>
                <td width="14%" class="TD_STYLE1">
                    II级机构名称
                </td>
                <td width="14%" class="TD_STYLE1">
                    II级机构编号
                </td>
                <td width="14%" class="TD_STYLE1">
                    III级机构名称
                </td>
                <td width="17%" class="TD_STYLE1">
                    销售责任人编号
                </td>
                <td width="17%" class="TD_STYLE1">
                    是否为零售店
                </td>
                <td width="5%" class="TD_STYLE1">
                    变更
                </td>
                <td width="5%" class="TD_STYLE1">
                    删除
                </td>
            </tr>
            @foreach (config_file_third_kind item in Model)
            {
<tr>
    <td class="TD_STYLE2">
        @item.first_kind_name
    </td>
    <td class="TD_STYLE2">
        @item.second_kind_name
    </td>
    <td class="TD_STYLE2">
        @item.second_kind_id
    </td>
    <td class="TD_STYLE2">
        @item.third_kind_name
    </td>
    <td class="TD_STYLE2">
        @item.third_kind_sale_id
    </td>
    <td class="TD_STYLE2">
        @item.third_kind_is_retail
    </td>
    <td class="TD_STYLE2">
        <a asp-controller="client" asp-action="third_kind_change" asp-route-Id="@item.Id">变更</a>
        @*<a href="third_kind_change.html">变更</a>*@
    </td>
    <td class="TD_STYLE2">
        <a asp-controller="client" asp-action="third_kindDel" asp-route-Id="@item.Id" onclick="return confirm('您确定要删除嘛！') ">删除</a>
        @*<a href="third_delete_success.html">删除</a>*@
    </td>
</tr>
}
        </table>
        <br>
        <br>
        <th colspan="7" class="pager">
        </th>
        <p>
    </form>
</body>
</html>

